package cn.shyouchi.wuguanjia.android.ui.event.labor;

import java.util.List;

/**
 * Created by Eenie on 2016/12/8 at 17:54
 * Email: 472279981@qq.com
 * Des:
 */

public class ApplyLaborEntity {


    /**
     * resultCode : 0
     * resultMessage : [{"id":1,"day":2,"user_id":1,"checkstatus":2,"username":"唐海斌","service":{"id":120,"servicesname":"日班","starttime":"07:30:00","endtime":"19:30:00","time":12}}]
     */

    private int resultCode;
    private List<ResultMessageBean> resultMessage;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public List<ResultMessageBean> getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(List<ResultMessageBean> resultMessage) {
        this.resultMessage = resultMessage;
    }

    public static class ResultMessageBean {
        /**
         * id : 1
         * day : 2
         * user_id : 1
         * checkstatus : 2
         * username : 唐海斌
         * service : {"id":120,"servicesname":"日班","starttime":"07:30:00","endtime":"19:30:00","time":12}
         */

        private int id;
        private int day;
        private int user_id;
        private int checkstatus;
        private String username;
        private ServiceBean service;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDay() {
            return day;
        }

        public void setDay(int day) {
            this.day = day;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getCheckstatus() {
            return checkstatus;
        }

        public void setCheckstatus(int checkstatus) {
            this.checkstatus = checkstatus;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public ServiceBean getService() {
            return service;
        }

        public void setService(ServiceBean service) {
            this.service = service;
        }

        public static class ServiceBean {
            /**
             * id : 120
             * servicesname : 日班
             * starttime : 07:30:00
             * endtime : 19:30:00
             * time : 12
             */

            private int id;
            private String servicesname;
            private String starttime;
            private String endtime;
            private int time;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getServicesname() {
                return servicesname;
            }

            public void setServicesname(String servicesname) {
                this.servicesname = servicesname;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }
        }
    }
}
